package com.project.oauth2Server.config;

import com.project.annotation.model.UserConfig;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
@ConfigurationProperties(prefix = "auth")
@Data
public class AuthConfig {
    private List<UserConfig> users;
    private List<ClientConfig> clients;
}
